//
//  NSString+Verification.h
//  RMEducation
//
//  Created by tongbinLi on 16/3/14.
//  Copyright © 2016年 tongbinLi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Verification)

/**
 *  手机号码验证
 *
 */
- (BOOL)isMobileNumber;

/**
 *  密码
 *
 */
- (BOOL) validatePassword;

/**
 *  用户名
 *
 */
-(BOOL)validateUserName;

/**
 *  身份证
 *
 */
-(BOOL)validateIdentityCard;

/**
 *  昵称
 *
 */
-(BOOL) validateNickname;
/**
 *  姓名
 *
 */
-(BOOL)name;

/**
 *  汉字
 */
-(BOOL)isChinese;

/**
 *  包含汉字
 */
-(BOOL)includeChinese;

/**
 *  字母和数字
 */
-(BOOL)validateLetterAndNumberOnly;

-(BOOL)validateLetterOnly;

-(BOOL)validateNumberOnly;

-(BOOL)validateSpecailCharacters;

@end
